#include "stdafx.h"
#include "art_dic.h"

void art_dic::add_element( const std::string& _s,DIC_UVS _u )
{
	DIC_MAP::iterator it=m_dic.find(_s);
	if (it==m_dic.end())
	{
		m_dic.insert(std::make_pair(_s,_u));
	}

}

art_dic::art_dic()
{

}

art_dic::~art_dic()
{

}

DIC_UVS art_dic::get_uv( const std::string& _s ) 
{
	DIC_MAP::iterator it=m_dic.find(_s);
	if (it!=m_dic.end())
	{
		return it->second;
	}

}